package com.reids.ch01.service;

import org.springframework.stereotype.Component;

/***
 *
 * redis 订阅消息处理
 * @author wind
 * @since 2020-06-22
 */
@Component
public interface RedisMsg {

    /**
     * 接收消息
     * @param message
     */
    void receiveMessage(String message);
}
